package org.deltaset.meta.internal.testdomain;

/**
 *
 * @author dmakariev
 */
public class OrderChildDelegate {

    private final OrderChild orderChild;
    private String realField;

    public OrderChildDelegate() {
        this(new OrderChild());
    }

    public OrderChildDelegate(OrderChild orderChild) {
        this.orderChild = orderChild;
    }

    public void setId(Long id) {
        orderChild.setId(id);
    }

    public Long getId() {
        return orderChild.getId();
    }

    public String title() {
        return orderChild.title();
    }

    public void setChildName(String childName) {
        orderChild.setChildName(childName);
    }

    public String getChildName() {
        return orderChild.getChildName();
    }

    public void setParent(OrderParent parent) {
        orderChild.setParent(parent);
    }

    public OrderParent getParent() {
        return orderChild.getParent();
    }

    public String getRealField() {
        return realField;
    }

    public void setRealField(String realField) {
        this.realField = realField;
    }
}
